package com.sscw.tcp.constant;

public interface MQTTTopicConstant {

    // ++++++++++++++++++++++一级topic++++++++++++++++++++++
    String FIRST_TOPIC = "mqtt";

    String APP_FIRST_TOPIC = "app";

    String IO_FIRST_TOPIC = "machine";

    String MACHINE_FIRST_TOPIC = "machine_command";

    String MANAGE_FIRST_TOPIC = "backed";

    // ++++++++++++++++++++++分隔符++++++++++++++++++++++
    String SEPARATOR_KEY = "/";
    /**
     * 赏金审批上报
     */
    String PRIZE_CHECK = MANAGE_FIRST_TOPIC + SEPARATOR_KEY + "check";
    /**
     * 维修上报
     */
    String REPORT_REPAIR = MANAGE_FIRST_TOPIC + SEPARATOR_KEY + "repair";

    /**
     * 房间弹幕
     */
    String ROOM_BARRAGE_KEY = APP_FIRST_TOPIC + SEPARATOR_KEY + "barrage";

    /**
     * 清理房间围观人员
     */
    String FORBID_LOOK_KEY = APP_FIRST_TOPIC + SEPARATOR_KEY + "forbid_look";

    /**
     * 街机娱乐投币结果通知
     */
    String MACHINE_PUSH_COINS_RESULT = APP_FIRST_TOPIC + SEPARATOR_KEY + "machine_push_coins_result";

    /**
     * 结算街机数据
     */
    String SETTLE_MACHINE = SEPARATOR_KEY + "settle";

    /**
     * 街机上
     */
    String MACHINE_UP = "/up";

    /**
     * 街机长按上
     */
    String MACHINE_UP_LONG_PRESS = "/upLongPress";

    /**
     * 街机下
     */
    String MACHINE_DOWN = "/down";

    /**
     * 街机下
     */
    String MACHINE_DOWN_LONG_PRESS = "/downLongPress";

    /**
     * 街机左
     */
    String MACHINE_LEFT = "/left";

    /**
     * 街机右
     */
    String MACHINE_RIGHT = "/right";

    /**
     * 街机投币
     */
    String MACHINE_PUSH_COINS = "/pushCoins";

    /**
     * 街机加火力
     */
    String MACHINE_ADD_FIRE = "/addFire";

    /**
     * 街机开炮
     */
    String MACHINE_OPEN_FIRE = "/openFire";
}
